<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>com.sekati.services.Flink - SASAPI</title><script src="../../../quicknav.js" type="text/javascript"></script><script><!--
document.quicknavBasePath="../../../index-files";
//--></script><link href="../../../style.css" title="JavaDoc" rel="stylesheet" type="text/css"/><link href="../../../unnatural.css" title="Unnatural" rel="alternate stylesheet" type="text/css"/><link href="../../../overview-summary.html" title="Overview" rel="top"/><link href="package-summary.html" title="Package com.sekati.services" rel="up"/><link href="../../../com/sekati/services/ISOAPClient.html" title="Interface com.sekati.services.ISOAPClient" rel="prev"/><link href="../../../com/sekati/services/AmbientOrb.html" title="Class com.sekati.services.AmbientOrb" rel="next"/><meta name="generator" content="http://www.badgers-in-foil.co.uk/projects/as2api/"/></head><body><h1>Class com.sekati.services.Flink</h1><div class="type_hierachy"><ul><li><strong>com.sekati.services.Flink</strong></li></ul></div><div class="type_description"><h2>Description</h2><p>
 Easily add deeplinking into flash sites
 
 <pre> Usage:
 <span class="comment">// Add Flink.js to your swf html page:</span>
 &lt;script language=<span class="str_const">"javascript"</span> src=<span class="str_const">"js/Flink.js"</span>&gt;&lt;/script&gt;
 
 <span class="comment">// enable swLiveConnect:</span>
 fscommand (<span class="str_const">"swLiveConnect"</span>, <span class="str_const">"true"</span>);
 </pre>
 </p></div><div class="type_indexes"><div class="method_index"><h2>Method Index</h2><a href="#getLink" title="static public function getLink():String">getLink()</a>, <a href="#getRef" title="static public function getRef():String">getRef()</a>, <a href="#jsAllow" title="static public function jsAllow(fnName:String, instance:Object, fn:Function):Void">jsAllow()</a>, <a href="#jsCall" title="static public function jsCall():Void">jsCall()</a>, <a href="#setLink" title="static public function setLink(pgTitle:String, anchor:String):Void">setLink()</a></div></div><div class="type_details"><div class="method_detail_list"><h2>Method Detail</h2><div class="method_details alt_row"><a name="getLink"></a><h3>getLink</h3><code class="method_synopsis">static public function <strong class="method_name">getLink</strong>():<span class="unresolved_type_name">String</span></code><div class="method_info"><p>
 get deeplink anchor
 </p><h4>Return</h4><p class="extra_info"> String
 <pre> Usage:
 <span class="key">var</span> currentDeeplink:String = Flink.getLink();
 </pre>
	 </p></div></div><div class="method_details"><a name="setLink"></a><h3>setLink</h3><code class="method_synopsis">static public function <strong class="method_name">setLink</strong>(pgTitle:<span class="unresolved_type_name">String</span>, anchor:<span class="unresolved_type_name">String</span>):<span class="void_name">Void</span></code><div class="method_info"><p>
 set deeplink anchor and page title
 </p><h4>Parameters</h4><table class="arguments extra_info" summary=""><tr><td><code>pgTitle</code></td><td>(String)
 </td></tr><tr><td><code>anchor</code></td><td>(String)
 </td></tr></table><h4>Return</h4><p class="extra_info"> String
 <pre>
 Flink.setLink(<span class="str_const">"Section Three"</span>,<span class="str_const">"section_three"</span>);
 </pre>
	 </p></div></div><div class="method_details alt_row"><a name="getRef"></a><h3>getRef</h3><code class="method_synopsis">static public function <strong class="method_name">getRef</strong>():<span class="unresolved_type_name">String</span></code><div class="method_info"><p>
 wrapper to Flink JavaScript lib - returns the entire current url
 </p><h4>Return</h4><p class="extra_info"> String
	 </p></div></div><div class="method_details"><a name="jsCall"></a><h3>jsCall</h3><code class="method_synopsis">static public function <strong class="method_name">jsCall</strong>():<span class="void_name">Void</span></code><div class="method_info"><p>
 call a javascript function from actionscript
 </p><h4>Return</h4><p class="extra_info"> Void
 <pre>
  Flink.jsCall (<span class="str_const">"helloWorld"</span>, <span class="str_const">"boy"</span>, <span class="str_const">"jason"</span>);
 </pre>
	 </p></div></div><div class="method_details alt_row"><a name="jsAllow"></a><h3>jsAllow</h3><code class="method_synopsis">static public function <strong class="method_name">jsAllow</strong>(fnName:<span class="unresolved_type_name">String</span>, instance:<span class="unresolved_type_name">Object</span>, fn:<span class="unresolved_type_name">Function</span>):<span class="void_name">Void</span></code><div class="method_info"><p>
 allow javascript access to call an actionscript function
 </p><h4>Parameters</h4><table class="arguments extra_info" summary=""><tr><td><code>fnName</code></td><td>(String) as function name as string
 </td></tr><tr><td><code>instance</code></td><td>(Object) scope of fnName
 </td></tr><tr><td><code>fn</code></td><td>(Function) as function name
 </td></tr></table><h4>Return</h4><p class="extra_info"> Void
 <pre> Usage:
 Flink.jsAllow (<span class="str_const">"helloFlash"</span>, <span class="key">this</span>, helloFlash);
 </pre>
	 </p></div></div></div></div><ul class="main_nav" id="main_nav"><li><a href="../../../overview-summary.html" title="Overview of SASAPI" class="button">Overview</a></li><li><a href="package-summary.html" title="Overview of package com.sekati.services" class="button">Package</a></li><li><span class="button nav_current">Class</span></li><li><a href="Flink.as.html" title="Source code of com.sekati.services.Flink" class="button">Source</a></li><li><a href="../../../index-files/index.html" title="Alpabetical index of types and members" class="button">Index</a></li></ul><div class="footer"><a href="http://www.badgers-in-foil.co.uk/projects/as2api/" title="ActionScript 2 API Documentation Generator">as2api</a></div></body></html>